<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>获取该QQ邮箱地址中的QQ号</title>
<script src="../JS/vue.js"></script>
</head>
<body>
<div id="box">
	邮箱地址：{{email}}<br>
	QQ号码：{{email.substr(0,email.indexOf('@'))}}
</div>
<script type="text/javascript">
    var demo = new Vue({
        el : '#box',
        data : {
			email : '4006751066@qq.com'//定义邮箱地址
        }
    });
</script>


</body>

</html>



